<form action="{url()}" method="post" class="uk-form uk-form-horizontal" id="form">
    <div class="uk-form-row">
        <label class="uk-form-label">应用名</label>
        <div class="uk-form-controls">
            <input type="text" class="uk-form-width-large" id="app" name="app" datatype="s" value="" placeholder="只能为英文名且全部为小写">
            <span class="uk-form-help-inline"></span>
        </div>
    </div>
    <div class="uk-form-row">
        <label class="uk-form-label">应用描述</label>
        <div class="uk-form-controls">
            <input type="text" class="uk-form-width-large" id="name" name="name" datatype="s" value="" placeholder="模块功能描述">
            <span class="uk-form-help-inline"></span>
        </div>
    </div>
    <div class="uk-form-row">
    <label class="uk-form-label">系统模块</label>
    <div class="uk-form-controls uk-form-controls-text">
        <label class="uk-margin-right"><input name="system" value="1" type="radio"> 是</label>
        <label class="uk-margin-right"><input name="system" value="0" type="radio" checked> 否</label>
    </div>
</div>
    <div class="uk-form-row">
        <label for="form-mailer" class="uk-form-label"></label>
        <div class="uk-form-controls">
            <input type="hidden" name="user_id" type="hidden" value="{$info.user_id}">
            <button class="uk-button uk-button-primary" type="submit">生成</button>
        </div>
    </div>
</form>
<script>
Do.ready('base', function () {
    $('#form').duxForm();
});
</script>